Optimal. Leaf size=145 \[ \frac{256 a^2 c^6 \cos ^5(e+f x)}{1155 f (c-c \sin (e+f x))^{5/2}}+\frac{64 a^2 c^5 \cos ^5(e+f x)}{231 f (c-c \sin (e+f x))^{3/2}}+\frac{8 a^2 c^4 \cos ^5(e+f x)}{33 f \sqrt{c-c \sin (e+f x)}}+\frac{2 a^2 c^3 \cos ^5(e+f x) \sqrt{c-c \sin (e+f x)}}{11 f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.327226, antiderivative size = 145, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.107, Rules used = {2736, 2674, 2673} \[ \frac{256 a^2 c^6 \cos ^5(e+f x)}{1155 f (c-c \sin (e+f x))^{5/2}}+\frac{64 a^2 c^5 \cos ^5(e+f x)}{231 f (c-c \sin (e+f x))^{3/2}}+\frac{8 a^2 c^4 \cos ^5(e+f x)}{33 f \sqrt{c-c \sin (e+f x)}}+\frac{2 a^2 c^3 \cos ^5(e+f x) \sqrt{c-c \sin (e+f x)}}{11 f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2736
Rule 2674
Rule 2673
Rubi steps
\begin{align*} \int (a+a \sin (e+f x))^2 (c-c \sin (e+f x))^{7/2} \, dx &=\left (a^2 c^2\right ) \int \cos ^4(e+f x) (c-c \sin (e+f x))^{3/2} \, dx\\ &=\frac{2 a^2 c^3 \cos ^5(e+f x) \sqrt{c-c \sin (e+f x)}}{11 f}+\frac{1}{11} \left (12 a^2 c^3\right ) \int \cos ^4(e+f x) \sqrt{c-c \sin (e+f x)} \, dx\\ &=\frac{8 a^2 c^4 \cos ^5(e+f x)}{33 f \sqrt{c-c \sin (e+f x)}}+\frac{2 a^2 c^3 \cos ^5(e+f x) \sqrt{c-c \sin (e+f x)}}{11 f}+\frac{1}{33} \left (32 a^2 c^4\right ) \int \frac{\cos ^4(e+f x)}{\sqrt{c-c \sin (e+f x)}} \, dx\\ &=\frac{64 a^2 c^5 \cos ^5(e+f x)}{231 f (c-c \sin (e+f x))^{3/2}}+\frac{8 a^2 c^4 \cos ^5(e+f x)}{33 f \sqrt{c-c \sin (e+f x)}}+\frac{2 a^2 c^3 \cos ^5(e+f x) \sqrt{c-c \sin (e+f x)}}{11 f}+\frac{1}{231} \left (128 a^2 c^5\right ) \int \frac{\cos ^4(e+f x)}{(c-c \sin (e+f x))^{3/2}} \, dx\\ &=\frac{256 a^2 c^6 \cos ^5(e+f x)}{1155 f (c-c \sin (e+f x))^{5/2}}+\frac{64 a^2 c^5 \cos ^5(e+f x)}{231 f (c-c \sin (e+f x))^{3/2}}+\frac{8 a^2 c^4 \cos ^5(e+f x)}{33 f \sqrt{c-c \sin (e+f x)}}+\frac{2 a^2 c^3 \cos ^5(e+f x) \sqrt{c-c \sin (e+f x)}}{11 f}\\ \end{align*}
Mathematica [B] time = 6.43329, size = 1105, normalized size = 7.62 \[ \text{result too large to display} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.632, size = 81, normalized size = 0.6 \begin{align*}{\frac{ \left ( -2+2\,\sin \left ( fx+e \right ) \right ){c}^{4} \left ( 1+\sin \left ( fx+e \right ) \right ) ^{3}{a}^{2} \left ( 105\, \left ( \sin \left ( fx+e \right ) \right ) ^{3}-455\, \left ( \sin \left ( fx+e \right ) \right ) ^{2}+755\,\sin \left ( fx+e \right ) -533 \right ) }{1155\,f\cos \left ( fx+e \right ) }{\frac{1}{\sqrt{c-c\sin \left ( fx+e \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (f x + e\right ) + a\right )}^{2}{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac{7}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.09928, size = 576, normalized size = 3.97 \begin{align*} \frac{2 \,{\left (105 \, a^{2} c^{3} \cos \left (f x + e\right )^{6} + 245 \, a^{2} c^{3} \cos \left (f x + e\right )^{5} - 20 \, a^{2} c^{3} \cos \left (f x + e\right )^{4} + 32 \, a^{2} c^{3} \cos \left (f x + e\right )^{3} - 64 \, a^{2} c^{3} \cos \left (f x + e\right )^{2} + 256 \, a^{2} c^{3} \cos \left (f x + e\right ) + 512 \, a^{2} c^{3} -{\left (105 \, a^{2} c^{3} \cos \left (f x + e\right )^{5} - 140 \, a^{2} c^{3} \cos \left (f x + e\right )^{4} - 160 \, a^{2} c^{3} \cos \left (f x + e\right )^{3} - 192 \, a^{2} c^{3} \cos \left (f x + e\right )^{2} - 256 \, a^{2} c^{3} \cos \left (f x + e\right ) - 512 \, a^{2} c^{3}\right )} \sin \left (f x + e\right )\right )} \sqrt{-c \sin \left (f x + e\right ) + c}}{1155 \,{\left (f \cos \left (f x + e\right ) - f \sin \left (f x + e\right ) + f\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (f x + e\right ) + a\right )}^{2}{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac{7}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]